package cn.iocoder.yudao.framework.web.config;


import lombok.Data;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 企业微信的配置
 */
@Data
@AutoConfiguration("myWeworkProperties")
@ConfigurationProperties(prefix = "wework.application")
public class MyWeworkProperties {

    /**
     * 企业id
     */
    private String cropId;

    /**
     * 应用id
     */
    private String agentId;
    /**
     * 企业微信客户联系人应用的密钥
     */
    private String secret;
    /**
     * 企业微信客户联系人token的key
     */
    private String tokenKey;
}
